<fieldset class="FieldArea">
  <legend class="FieldAreaTitle">Informações da Logradouro</legend>
  <table class="ControlTable" width="100%" border="0">
    <tr>
      <td class="FormField" style="width: 40%;" colspan="8">
        <%= label :logradouro, :tipo_logradouro_id, "Tipo do Logradouro" %><br />
        <%= select(:logradouro, :tipo_logradouro_id, TipoLogradouro.find(:all, :conditions => ["situacao = ?", "001"]).collect {|tipo_logradouro| [tipo_logradouro.nome, tipo_logradouro.id] }, {}, :class => 'Select', :disabled => @field_disable) %>
      </td>
      <td style="width: 60%;" colspan="12"></td>
    </tr>
    <tr>
      <td class="FormField" style="width: 60%;" colspan="12">
        <%= label :logradouro, :nome %><br />
        <%= text_field :logradouro, :nome, :size => 60, :class => 'TextField', :disabled => @field_disable %>
      </td>
      <td style="width: 8%;" colspan="40"></td>
    </tr>
    <tr>
      <td class="FormField" style="width: 70%;" colspan="14">
        <%= label :logradouro, :complemento, "Complemento" %><br />
        <%= text_field :logradouro, :complemento, :size => 50, :class => 'TextField', :disabled => @field_disable %>
      </td>
      <td style="width: 30%;" colspan="6"></td>
    </tr>
    <tr>
      <td class="FormField" style="width: 40%;" colspan="8">
        <%= label :logradouro, :bairro_id %><br />
        <%= select(:logradouro, :bairro_id, Bairro.find(:all, :conditions => ["situacao = ?", "001"]).collect {|bairro| [bairro.nome, bairro.id] }, {}, :class => 'Select', :disabled => @field_disable) %>
      </td>
      <td style="width: 60%;" colspan="12"></td>
    </tr>
    <tr>
      <td class="FormField" style="width: 15%;" colspan="3">
        <%= label :logradouro, :cep, "CEP" %><br />
        <%= text_field :logradouro, :cep, :size => 15, :class => 'TextField', :disabled => @field_disable %>
      </td>
      <td style="width: 85%;" colspan="17"></td>
    </tr>
    <tr>
      <td class="FormField" style="width: 30%;"  colspan="6">
        <%= label :logradouro, :situacao, "Situação" %><br />
        <%= select(:logradouro, :situacao, Situacao.find(:all).collect {|situacao| [situacao.nome, situacao.codigo] }, {}, :class => 'Select', :disabled => @field_disable) %>
      </td>
      <td style="width: 70%;" colspan="14"></td>
    </tr>
  </table>
</fieldset>